import AntDComponent from '../../pages/antd';
import Desc from '../../pages/Desc';
import Home from '../../pages/Home';
import NotFound from '../../pages/NotFound';

export default [
  {
    path: '/',
    element: <Home />,
    children: [
      {
        index: true,
        element: <Home />,
      },
      {
        path: '/desc',
        element: <Desc />,
      },
    ],
  },
  {
    path: '/antd',
    element: <AntDComponent />,
  },
  {
    path: '*',
    element: <NotFound />,
  },
];
